﻿
using System.Collections.Generic;
using GuRenFang.Service.Entity;

namespace GuRenFang.Service.IBiz
{
   public interface IActivitiesBiz
    {
        IEnumerable<Activities> GetAll();
        Activities GetById(int id);
        void Create(Activities news);
        void Update(Activities news);
        void Delete(int id);
        void Save();
        IEnumerable<Activities> GetItemsByPages(out int totalRecord, int? pageIndex = 1, int? pageSize = 10, string orderFiled = "ID");
        //Boolean SetReadTimes(int? id = 1, int? readTimes = 1);
    }

}
